package com.zenithsun.news.newscolumns.model;

// default package

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * NewsColumns entity. @author MyEclipse Persistence Tools
 */

public class NewsColumns implements java.io.Serializable {

	// Fields

	private String id;
	private String parentId;
	private String name;
	private String url;
	private String remark;
	private Integer orderNo;
	private Short isThisWebsite = 1;
	/**
	 *  暂时废弃掉
	 */
	private String coverPath;
	/**
	 *  暂时废弃掉
	 */
	private String content;
	private Date createTime;

	// private Set newsinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public NewsColumns() {
	}

	/** id constructor */
	public NewsColumns(String id) {
		this.id = id;
	}

	/** minimal constructor */
	public NewsColumns(String id, String parentId, String name,
			Integer orderNo, Short isThisWebsite, Date createTime) {
		this.id = id;
		this.parentId = parentId;
		this.name = name;
		this.orderNo = orderNo;
		this.isThisWebsite = isThisWebsite;
	}

	/** full constructor */
	public NewsColumns(String id, String parentId, String name, String url,
			String remark, Integer orderNo, Short isThisWebsite,
			String coverPath, String content) {// , Set newsinfos) {
		this.id = id;
		this.parentId = parentId;
		this.name = name;
		this.url = url;
		this.remark = remark;
		this.orderNo = orderNo;
		this.isThisWebsite = isThisWebsite;
		this.coverPath = coverPath;
		this.content = content;
		// this.newsinfos = newsinfos;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}

	public Short getIsThisWebsite() {
		return this.isThisWebsite;
	}

	public void setIsThisWebsite(Short isThisWebsite) {
		this.isThisWebsite = isThisWebsite;
	}

	public String getCoverPath() {
		return this.coverPath;
	}

	public void setCoverPath(String coverPath) {
		this.coverPath = coverPath;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/*
	 * public Set getNewsinfos() { return this.newsinfos; }
	 * 
	 * public void setNewsinfos(Set newsinfos) { this.newsinfos = newsinfos; }
	 */

}